#include "JsonQueryFactory.h"

//template<class T> void JsonQueryFactory::reg(QueryType qq)
//{
//    types[qq]=QSharedPointer<IJsonQuery>(new T());
//}

//QSharedPointer<IJsonQuery>
//        JsonQueryFactory::getJsonQuery(const Query& q,
//                                       const std::stringstream& s)
//{
//    types[q.getType()]->init(s);
//    return types[q.getType()];
//}
